<?php

namespace App\Enums;

class FinancialEnum
{

    /** @var int 支付宝提现 */
    const ALIPAY_WITHDRAW = 1;

    /** @var int 微信提现 */
    const WECHAT_WITHDRAW = 2;

    /** @var int 银行卡提现 */
    const BANKCARD_WITHDRAW = 3;

    /** @var int 对公账户提现 */
    const COMPANY_WITHDRAW = 4;


    // 把提现记录推送到财务系统配置接口
    const FINANCIAL_SYSTEM_SYNC_WITHDRAW = [
        'method' => 'post',
        'path' => 'withdraw/save',
    ];
    // 获取充值退款信息详情
    const PAY_RECHARGE_REFUND_DETAIL = [
        'method' => 'get',
        'path' => 'pay/recharge/refund/detail',
    ];
    // 充值退款操作
    const PAY_RECHARGE_REFUND = [
        'method' => 'post',
        'path' => 'pay/recharge/refund',
    ];

    // 请求校验支付宝信息
    const FINANCIAL_CHECK_ALIPAY_CARD = [
        'method' => 'post',
        'path' => '/verify/user',
    ];
}